home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 August: Tool Chest / Dev.CD Aug 94.toast / New System Software Extensions / ODBC for Macintosh / ODBC Tools / SampleSetup / Sources / ODBCdbmsSetup.r < prev   
Encoding:
Text File  |  1993-07-19  |  1.8 KB  |  126 lines  |  [TEXT/MPS ]

  1. /*
  2.  *    ODBCdbmsSetup.r
  3.  *
  4.  *    Resource descriptions for the setup dialog.
  5.  *
  6.  *    Â© 1993 by Apple Computer, Inc., all rights reserved.
  7.  */
  8.  
  9. #include "Types.r"
  10. #include "ODBCtypes.r"
  11.  
  12. /*
  13.  *    include the library's 'libr', 'libi', and 'code' resources
  14.  */
  15.  
  16. INCLUDE "ODBCdbmsSetup.RSRC";
  17.  
  18. /*
  19.  *    the vendor descriptor, which is used to identify this setup shared library
  20.  *    from other setup shared libraries
  21.  */
  22.  
  23. resource 'odds' (0) { "Sample" };
  24.  
  25. /*
  26.  *    the setup dialog and its resources
  27.  */
  28.  
  29. resource 'DLOG' (134, "DBMSsetup") {
  30.     {81, 62, 285, 486},
  31.     movableDBoxProc,
  32.     visible,
  33.     goAway,
  34.     0x0,
  35.     134,
  36.     "DBMS Setup Example"
  37. };
  38.  
  39. resource 'DITL' (134, "DBMSsetup") {
  40.     {    /* array DITLarray: 13 elements */
  41.         /* [1] */
  42.         {168, 320, 188, 400},
  43.         Button {
  44.             enabled,
  45.             "OK"
  46.         },
  47.         /* [2] */
  48.         {168, 216, 188, 296},
  49.         Button {
  50.             enabled,
  51.             "Cancel"
  52.         },
  53.         /* [3] */
  54.         {16, 12, 32, 142},
  55.         StaticText {
  56.             disabled,
  57.             "Data Source Name:"
  58.         },
  59.         /* [4] */
  60.         {44, 56, 60, 141},
  61.         StaticText {
  62.             disabled,
  63.             "Description:"
  64.         },
  65.         /* [5] */
  66.         {72, 92, 88, 139},
  67.         StaticText {
  68.             disabled,
  69.             "Other:"
  70.         },
  71.         /* [6] */
  72.         {16, 144, 32, 406},
  73.         EditText {
  74.             enabled,
  75.             ""
  76.         },
  77.         /* [7] */
  78.         {44, 144, 60, 406},
  79.         EditText {
  80.             enabled,
  81.             ""
  82.         },
  83.         /* [8] */
  84.         {72, 144, 88, 406},
  85.         EditText {
  86.             enabled,
  87.             ""
  88.         },
  89.         /* [9] */
  90.         {120, 12, 136, 96},
  91.         StaticText {
  92.             disabled,
  93.             "Translation:"
  94.         },
  95.         /* [10] */
  96.         {120, 96, 136, 312},
  97.         StaticText {
  98.             disabled,
  99.             "No Translator                           "
  100.             "     "
  101.         },
  102.         /* [11] */
  103.         {118, 320, 138, 400},
  104.         Button {
  105.             enabled,
  106.             "Select…"
  107.         },
  108.         /* [12] */
  109.         {104, 12, 106, 409},
  110.         UserItem {
  111.             disabled
  112.         },
  113.         /* [13] */
  114.         {148, 12, 150, 409},
  115.         UserItem {
  116.             disabled
  117.         }
  118.     }
  119. };
  120.  
  121. resource 'dctb' (134, "DBMSsetup")
  122. {
  123.     {    /* array ColorSpec: 0 elements */
  124.     }
  125. };
  126.